package com.demo.mapper.demo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.beans.Menu;
import com.demo.beans.Permission;
import com.demo.beans.ReturnData;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    public Menu queryMenuById(String menuId);
    public void recordClick(Menu menu);
    public int insertMenu(Menu menu);
    public int updateMenu(Menu menu);
}
